package com.yunxin.core.application.service;

import com.yunxin.common.result.PageResult;
import com.yunxin.core.application.admin.team.Team;
import com.yunxin.core.application.command.user.UserInfoPageCommand;
import com.yunxin.core.application.dto.user.UserInfoPageDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zero°
 * @since 2023-06-08
 */
public interface UserQueryAdminService {

    /**
     * 分页查询用户列表
     * @param request request
     * @return UserPageDTO
     */
    PageResult<UserInfoPageDTO> userPageQuery(UserInfoPageCommand request);

    /**
     * 根据订单id查询团队
     * @param ouaaId
     * @return
     */
    List<Team> selectTeamListById(@Param("ouaaId") Long ouaaId);
}
